#!/bin/bash
file=/etc/passwd
strarr=("1" "3" "5" "7")
for i in ${strarr[@]}
do 
	line=`head -$i $file |tail -1`
	echo $line
done
